<?php /* Smarty version Smarty-3.0.5, created on 2015-11-21 15:32:04
         compiled from "D:\WWW\phpcms5\tpl/blue/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2095856501df479aa65-88018448%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '25320566c576658dd766587e82d6d28ff3504274' => 
    array (
      0 => 'D:\\WWW\\phpcms5\\tpl/blue/index.tpl',
      1 => 1448064296,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2095856501df479aa65-88018448',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_filterhtml')) include 'D:\WWW\phpcms5\source\core\plugins\modifier.filterhtml.php';
?>﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('page_charset')->value;?>
" />
<title><?php echo $_smarty_tpl->getVariable('page_title')->value;?>
-<?php echo $_smarty_tpl->getVariable('copyright_header')->value;?>
</title>
<meta name="description" content="<?php echo $_smarty_tpl->getVariable('page_description')->value;?>
" />
<meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('page_keyword')->value;?>
" />
<meta name="author" content="<?php echo $_smarty_tpl->getVariable('copyright_author')->value;?>
" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
style/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
style/css.css" />
<script type='text/javascript' src='<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/command.js'></script>
<script src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/jquery-1.4.4.min.js" language="javascript" type="text/javascript"></script>
<script src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/downnav.js" language="javascript" type="text/javascript"></script>
<script src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/jquery.cross-slide.js" language="javascript" type="text/javascript"></script>
<!--[if IE 6]>
<script src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/deletepng.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.bg,img'); 
</script>
<![endif]-->
</head>
<body>
<div id="wrap">
  <?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tplpath')->value)."block_head.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
  <?php if ($_smarty_tpl->getVariable('ads_zone1')->value){?>
  <div id="flash"> 
    <div class="flash">
	  <?php if ($_smarty_tpl->getVariable('zone_silde1')->value=="1"){?>
		<div id="slide_wp" style="overflow:hidden;width:<?php echo $_smarty_tpl->getVariable('zone_width1')->value;?>
px;height:auto;position:relative;clear:both;boder:0px;background-color:#ffffff;margin:auto;">
		  <div id="MSClassBox">
			<ul id="ContentID">
			  <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('ads_zone1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
			  <li><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><img border="0" src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['uploadfiles'];?>
" width="<?php echo $_smarty_tpl->tpl_vars['volist']->value['width'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['volist']->value['height'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['adsname'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['adsname'];?>
" /></a></li>
			  <?php }} ?>
			</ul>
		  </div>
		  <ul id="TabID" style="display:none;">
			<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('ads_zone1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
			<li class=""><?php echo $_smarty_tpl->tpl_vars['volist']->value['i'];?>
</li>
			<?php }} ?>
		  </ul>
		</div>
		<script type="text/javascript">
		new Marquee(
		{
			MSClassID : "MSClassBox",
			ContentID : "ContentID",
			TabID	  : "TabID",
			Direction : 2,
			Step	  : 0.3,
			Width	  : <?php echo $_smarty_tpl->getVariable('zone_width1')->value;?>
,
			Height	  : <?php echo $_smarty_tpl->getVariable('zone_height1')->value;?>
,
			Timer	  : 20,
			DelayTime : 2000,
			WaitTime  : 0,
			ScrollStep: 610,
			SwitchType: 1,
			AutoStart : 1
		})
		</script>
	  <?php }else{ ?>
	  <div id="banner">
      <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('ads_zone1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
      <a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['uploadfiles'];?>
" width="<?php echo $_smarty_tpl->tpl_vars['volist']->value['width'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['volist']->value['height'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['adsname'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['adsname'];?>
" /></a>
	  <?php }} ?>
	  </div>
	  <?php }?>
	</div>
  </div><!-- #flash //-->
  <?php }?>

  <div id="main">

    <div id="left">

	  <h3 class="title"><a href="<?php echo $_smarty_tpl->getVariable('url_product')->value;?>
" title="More" class="more">More</a><span>产品类别</span></h3>
	  <div class="list1">
	    <div id="web-sidebar">
		  <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['p']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['name'] = 'p';
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('volist_producttreecategory')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total']);
?>
		  <dl>
		    <dt class="part2" id="part1-id<?php echo $_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['cateid'];?>
"><b><a href="<?php echo $_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['url'];?>
"><?php echo $_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['catename'];?>
</a></b></dt>
			<dd class="part3dom">
			  <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['c']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['name'] = 'c';
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['childcategory']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total']);
?>
			  <h4 class="part3" id="part2-id<?php echo $_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['childcategory'][$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['cateid'];?>
"><a href="<?php echo $_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['childcategory'][$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['url'];?>
"><?php echo $_smarty_tpl->getVariable('volist_producttreecategory')->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['childcategory'][$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['catename'];?>
</a></h4>
			  <?php endfor; endif; ?>
			</dd>
		  </dl>	
		  <?php endfor; endif; ?>
		</div><!-- #web-sidebar //-->
		<script type="text/javascript">
			$(document).ready(function(){
					var Plug1 = 0; 
					var Plug2 = 1; 
				var i = 0;
				var SideBar = $("#web-sidebar");
				var SideBar_dt = SideBar.find("dt.part2");
				var SideBar_dd = SideBar.find("dd.part3dom");
				var part1_dom = $("#part1-id0"); 
				var part2_dom = $("#part2-id0"); 
				var part_dom_dd = part1_dom.next("dd.part3dom");
					SideBar_dd.css("display","none");
					part1_dom.addClass("ondown");
					part2_dom.addClass("ondown");
				if(Plug1 == 1){ SideBar_dd.css("display","block"); SideBar_dt.addClass("part_on"); i = 1;} 
				
				if(Plug2 == 1 && part1_dom.length!=0){
						part_dom_dd.css("display","block");
						i = 1; 
				}
				
				SideBar_dt.click(function(){
					i++;if(i>1)i=0;
					i==1?SideBar_on($(this)):SideBar_out($(this));	
				});
				
		//****************


			});
			
			function SideBar_on(dom){
				var dd = dom.next("dd.part3dom")
					dom.addClass("part_on");
					dom.removeClass("part_out");
					dd.css("display","block");
			}
			
			function SideBar_out(dom){
				var dd = dom.next("dd.part3dom")
					dom.addClass("part_out");
					dom.removeClass("part_on");
					dd.css("display","none");
			}

			
		//************

		</script>


      </div><!-- $list1 //--->
	  
	  <h3 class="title"><a href="<?php echo $_smarty_tpl->getVariable('url_info')->value;?>
" title="More" class="more">More</a><span>最新动态</span></h3>
	  <ul class="list2">
	    <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_newinfo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
	    <li><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_title'];?>
</a></li>
		<?php }} ?>
	  </ul>
	  <h3 class="title"><a href="<?php echo $_smarty_tpl->getVariable('url_contact')->value;?>
" title="More" class="more">More</a><span>联系方式</span></h3>
	  <div class="text editor">
	    <p><?php echo $_smarty_tpl->getVariable('delimit_contact')->value;?>
</p>
	  </div>
	</div><!-- #left //-->

	<div id="right">
	  <h3 class="title"><a href="<?php echo $_smarty_tpl->getVariable('url_about')->value;?>
" title="More" class="more">More</a><span>公司简介</span></h3>
	  <div class="text">
	    <div class="editor">
		  <p>
		  <?php if ($_smarty_tpl->getVariable('ads_zone2')->value){?>
		  <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('ads_zone2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
		  <img width="<?php echo $_smarty_tpl->tpl_vars['volist']->value['width'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['volist']->value['height'];?>
" hspace="2" align="left" vspace="2" src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['uploadfiles'];?>
" />
		  <?php }} ?>
		  <?php }?>
		  </p><p><?php echo smarty_modifier_filterhtml($_smarty_tpl->getVariable('config')->value['about'],435);?>
...</p>
		</div>
	  </div>
	  
	  <h3 class="title line"><a href="<?php echo $_smarty_tpl->getVariable('url_product')->value;?>
" title="More" class="more">More</a><span>最新产品</span></h3>
	  <div class="list">
	    <ul id="drawimg">
		  <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_newproduct')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
		  <li style="width:158px; height:183px;">
		    <a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" class="imgbox"><img src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['thumbfiles'];?>
" onload="javascript:DrawImage(this,'150','150');" alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['produtname'];?>
" /></a>
			<h4><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['productname'];?>
"><?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
</a></h4>
		  </li>
		  <?php }} ?>
		</ul>
		<div style="clear:both;"></div>
	  </div><!-- #list //-->
	
	</div><!-- #right //-->
	<div style="clear:both;"></div>
  </div><!-- #main //-->
  <?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tplpath')->value)."block_footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</div>
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/screen.js"></script>
</body>
</html>